<?php

namespace App\Constant;

class Response
{
    const NO_PRIVILAGE       = '无权限';
    const NO_DATA            = '无数据';
    const DATA_IS_EXIST      = '该数据已存在';
    const PARAM_IS_WRONG     = '参数错误';
    const FILETYPE_IS_WRONG  = '文件类型不支持';
    const INACTIVE           = '账号被禁用';
    const LOGIN_FAILED       = '登陆失败';
    const FILESIZE_MAX_LIMIT = '超出文件大小限制';
    const UPDATE_ERR         = '更新数据错误';
    const INSERT_ERR         = '创建错误';
    const DELETE_ERR         = '删除错误';
    const READ_ERR           = '读取错误';
    const UPLOAD_ERR         = '上传失败';
    const DOWNLOAD_ERR       = '下载失败';
    const RESTORE_ERR        = '恢复失败';

    //api 增加的
    const OLD_PW_ERR         = '旧密码错误';
    const INSERT_SUC         = '创建成功';
    const UPDATE_SUC         = '更新成功';
    const DELETE_SUC         = '删除成功';
    const SHARE_ERR          = '分享失败';
    const SHARE_SUC          = '分享成功';
}
